import { Component } from '@angular/core';

@Component({
  selector: 'app-page-gallery',
  templateUrl: './page-gallery.component.html',
  styleUrls: ['./page-gallery.component.scss']
})
export class PageGalleryComponent {
  options = ['AI创作', 'AI摄影', 'AI二次元'];
  selectedIndex = 0; // 记录当前选择的索引，默认为0

  handleIndexChange(e: number): void {
    this.selectedIndex = e; // 更新选择的索引
  }

}